package com.marktrace.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * pulsar配置
 *
 * @author Shellmine Dean Lance
 * @date 2022-08-22 10:35:47
 */
@Configuration
public class PulsarConfig {

    @Value("${pulsar.client-service-url}")
    private String clientUrl;

    @Value("${pulsar.tenant-id}")
    private String tenantId;

    @Value("${pulsar.tenant-topic}")
    private String tenantTopic;
    @Value("${pulsar.tenant-token}")
    private String tenantToken;

    public String getClientUrl() {
        return clientUrl;
    }

    public void setClientUrl(String clientUrl) {
        this.clientUrl = clientUrl;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantTopic() {
        return tenantTopic;
    }

    public void setTenantTopic(String tenantTopic) {
        this.tenantTopic = tenantTopic;
    }

    public String getTenantToken() {
        return tenantToken;
    }

    public void setTenantToken(String tenantToken) {
        this.tenantToken = tenantToken;
    }
}
